﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl"
>
  <xsl:output method="xml" indent="yes"/>

  <xsl:template match="SchoolGrade">
    <SchoolGrade>
      <xsl:apply-templates select="node"/>
    </SchoolGrade>
  </xsl:template>
  <xsl:template match="node">
    <node>
      <xsl:attribute name="grade">
        <xsl:value-of select="grade"/>
      </xsl:attribute>
      <xsl:attribute name="id">
        <xsl:value-of select="id"/>
      </xsl:attribute>
    </node>
  </xsl:template>
</xsl:stylesheet>
